package com.cl.dao;

import com.cl.entity.LiuyanEntity;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import java.util.List;
import java.util.Map;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.plugins.pagination.Pagination;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Mapper;

/**
 * 留言
 */
@Mapper
public interface LiuyanDao extends BaseMapper<LiuyanEntity> {
    
    @Select("select * from liuyan ${ew.customSqlSegment}")
    List<LiuyanEntity> selectListView(@Param("ew") Wrapper<LiuyanEntity> wrapper);

    @Select("select * from liuyan ${ew.customSqlSegment}")
    List<LiuyanEntity> selectListView(Pagination page, @Param("ew") Wrapper<LiuyanEntity> wrapper);

    List<LiuyanEntity> selectListView(@Param("jieshouren") String jieshouren);
} 